package net.takela.auth.token.model;


import lombok.Getter;
import lombok.Setter;
import net.takela.common.web.model.Model;

import java.util.Date;

/**
 *
 * @author baboy
 * @since 1.0.0 08/12/2016
 */
@Getter
@Setter
public class UserAuthToken extends Model {
    public static String STATUS_LOGIN = "access";
    public static String STATUS_REFRESH = "refresh";
    public static String STATUS_LOGOUT = "logout";

    
    /**
     * 
     */
    private Long id;
    /**
     * 
     */
    private Long uid;
    /**
     * 
     */
    private String platform;
    /**
     * 
     */
    private String version;
    /**
     * 
     */
    private String os;
    /**
     * 
     */
    private String osVersion;
    /**
     * 
     */
    private String deviceName;
    /**
     * 
     */
    private String deviceId;
    /**
     * 
     */
    private String uuid;
    /**
     * 
     */
    private String status;
    /**
     * 
     */
    private String ip;
    /**
     * 
     */
    private String domain;

    /**
     * 
     */
    private Date expireTime;
    /**
     * 
     */
    private Integer createUid;
    /**
     * 
     */
    private Date createTime;
    /**
     * 
     */
    private Integer updateUid;
    /**
     * 
     */
    private Date updateTime;

}
